<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="http://localhost/shopex/" />
<link rel="stylesheet" type="text/css" href="App/Admin/Common/images/metinfo.css" />
<script type="text/javascript" src="App/Admin/Common/ckeditor/ckeditor.js"></script>
<link rel="stylesheet" href="App/Admin/Common/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="App/Admin/Common/kindeditor/kindeditor-min.js"></script>
<script charset="utf-8" src="App/Admin/Common/kindeditor/lang/zh_CN.js"></script>
<script>
			var editor;
			KindEditor.ready(function(K) {
				editor = K.create('textarea[name="content"]', {
					allowFileManager : true
				});
				
			});
</script>
<script charset="utf-8" src="App/Admin/Common/js/jQuery1.7.2.js"></script>

<link rel="stylesheet" type="text/css" href="App/Admin/Common/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="App/Admin/Common/css/bootstrap-responsive.css" />
<link rel="stylesheet" type="text/css" href="App/Admin/Common/css/style.css" />
<style type="text/css">
        body {
            padding-bottom: 40px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }


</style>
</head>

<body>

	<div class="metinfotop">
	<div class="position">简体中文：系统设置 > <a href="1.html">基本设置</a></div>

	</div>
	<div class="clear"></div>


<div class="stat_list">
	<ul>
		<li class="now"><a href="javascript:void(0)" title="设置系统的参数">设置系统的参数</a></li>
		<!--<li ><a href="index.php?c=admin&a=list&admin=1" title="新闻列表">管理员列表</a></li>
	--></ul>
</div>
<form method="post" name="myform" action="index.php/admin/stystem/config" target="_self" enctype="multipart/form-data">
<table class="table table-bordered table-hover definewidth m10">
    <tr>
        <td width="15%" class="tableleft">设置每页显示记录数</td>
        <td><input type="text" id="Psize" name="Psize" value="<?php echo $one['Psize'] ?>" /><span style="color:#F00"></span></td>
    </tr>
    
    <tr>
        <td class="tableleft">设置每页显示按钮数</td>
        <td><input type="text" name="Pnums" id="Pnums" value="<?php echo $one['Pnums'] ?>" /><span style="color:#F00"></span></td>
    </tr>
    
    
    <tr>
        <td class="tableleft">是否需要激活</td>
        <td><input type="radio" name="checkyn" id="checkyn" <?php if($one['checkyn']==0) echo 'checked="checked"' ?> value="0" />是&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="checkyn" id="checkyn" <?php if($one['checkyn']==1) echo 'checked="checked"' ?> value="1" />否<span style="color:#F00"></span></td>
    </tr>
    
    <tr>
        <td class="tableleft">是否允许注册</td>
        <td><input type="radio" name="regyn" id="regyn" <?php if($one['regyn']==1) echo 'checked="checked"' ?> value="1" />允许&nbsp;&nbsp;<input type="radio" name="regyn" id="regyn" <?php if($one['regyn']==0) echo 'checked="checked"' ?> value="0" />禁止<span style="color:#F00"></span></td>
    </tr>
    
    <tr>
        <td class="tableleft">是否允许登陆</td>
        <td><input type="radio" name="loginyn" id="loginyn" <?php if($one['loginyn']==1) echo 'checked="checked"' ?> value="1" />允许&nbsp;&nbsp;<input type="radio" name="loginyn" id="loginyn" <?php if($one['loginyn']==0) echo 'checked="checked"' ?> value="0" />禁止<span style="color:#F00"></span></td>
    </tr>
    
    
   	<tr>
        <td class="tableleft">邮箱激活有效时间</td>
        <td><input type="text" name="codeyn" id="codeyn" value="<?php echo $one['codeyn'] ?>" />(秒)<span style="color:#F00"></span></td>
    </tr>

    <tr>
        <td class="tableleft">记住密码时间</td>
        <td>
        <input type="text" name="remember" id="remember" value="<?php echo $one['remember'] ?>" />(秒)<span style="color:#F00"></span>
        </td>
    </tr>
    
    
    <tr>
        <td class="tableleft">是否生成水印</td>
        <td><input type="radio" name="watermark" id="watermark" <?php if($one['watermark']==0) echo 'checked="checked"' ?> value="0" />取消&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="watermark" id="watermark" <?php if($one['watermark']==1) echo 'checked="checked"' ?> value="1" />左上角&nbsp;&nbsp;<input type="radio" name="watermark" id="watermark" <?php if($one['watermark']==2) echo 'checked="checked"' ?> value="2" />右上角&nbsp;&nbsp;<input type="radio" name="watermark" id="watermark" <?php if($one['watermark']==3) echo 'checked="checked"' ?> value="3" />左下角&nbsp;&nbsp;<input type="radio" name="watermark" id="watermark" <?php if($one['watermark']==4) echo 'checked="checked"' ?> value="4" />右下角&nbsp;&nbsp;<input type="radio" name="watermark" id="watermark" <?php if($one['watermark']==5) echo 'checked="checked"' ?> value="5" />中心<span>&nbsp;&nbsp;&nbsp;&nbsp;上传水印图片<input name="image" id="image" type="file" /></span></td>
    </tr>

   <tr>
        <td class="tableleft">是否生成缩略图</td>
        <td><input type="radio" name="thumb" id="thumb" <?php if($one['thumb']==0) echo 'checked="checked"' ?> value="0" />取消&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="thumb" id="thumb" <?php if($one['thumb']==1) echo 'checked="checked"' ?> value="1" />等比例缩放&nbsp;&nbsp;<input type="radio" name="thumb" id="thumb" <?php if($one['thumb']==2) echo 'checked="checked"' ?> value="2" />缩放后填充&nbsp;&nbsp;<input type="radio" name="thumb" id="thumb" <?php if($one['thumb']==3) echo 'checked="checked"' ?> value="3" />居中裁剪&nbsp;&nbsp;<input type="radio" name="thumb" id="thumb" <?php if($one['thumb']==4) echo 'checked="checked"' ?> value="4" />左上角裁剪&nbsp;&nbsp;<input type="radio" name="thumb" id="thumb" <?php if($one['thumb']==5) echo 'checked="checked"' ?> value="5" />右下角裁剪&nbsp;&nbsp;<input type="radio" name="thumb" id="thumb" <?php if($one['thumb']==6) echo 'checked="checked"' ?> value="5" />固定尺寸缩放
        </td>
    </tr>
    
    
    <tr>
        <td class="tableleft"></td>
        <td>
            <button type="submit" class="btn btn-primary" type="button">设置</button>
        </td>
    </tr>
</table>
</form>

</body>
</html>